package com.jetwinner.webfast.module.bigapp.dao;

import com.jetwinner.webfast.kernel.dao.support.OrderBy;

import java.util.List;
import java.util.Map;

/**
 * @author xulixin
 */
public interface AppGroupThreadDao {

    int searchThreadsCount(Map<String, Object> conditions);

    List<Map<String, Object>> searchThreads(Map<String, Object> conditions, OrderBy orderBy,
                                            Integer start, Integer limit);

    Map<String, Object> addThread(Map<String, Object> thread);

    Map<String, Object> getThread(Integer id);
}
